﻿<%@ Page Title="" Language="C#" MasterPageFile="~/RightFrame.Master" AutoEventWireup="true" CodeBehind="RecycleBin.aspx.cs" Inherits="MyOA.UI.File.RecycleBin" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphTitle" runat="server">

     
          当前位置：回收站
       
      
    
    <style>
        .bg
        {
        	background:url("../../images/tab_14.gif");
        	height:26px;
        	text-align:center;
        	
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphContnent" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
<div class="body_title">回&nbsp;&nbsp;收&nbsp;&nbsp;站</div>
<div  style="position:relative; top:40px; left:40px;">   
    
        <asp:GridView ID="gvRecycleFile" runat="server"  
            style="margin-right: 85px" AutoGenerateColumns="False" 
            DataKeyNames="fileid" onrowcommand="gvRecycleFile_RowCommand" 
            onrowdatabound="gvRecycleFile_RowDataBound">
            <Columns>                     
                         <asp:BoundField DataField="filesname" HeaderText="文件名称"  HeaderStyle-CssClass="bg"/> 
                          <asp:BoundField DataField="filePath" HeaderText="所在文件夹"  HeaderStyle-CssClass="bg"/>   
                          <asp:TemplateField HeaderText="类型" HeaderStyle-CssClass="bg">
                              <ItemTemplate>
                                  <asp:Label ID="Label1" runat="server" Text='<%# Eval("FileType.fileTypeName") %>'></asp:Label>
                              </ItemTemplate>
                         </asp:TemplateField>
                          <asp:TemplateField HeaderText="操作者" HeaderStyle-CssClass="bg">
                              <ItemTemplate>
                                  <asp:Label ID="Label2" runat="server" Text='<%# Eval("FileOwner.userName") %>'></asp:Label>
                              </ItemTemplate>
                             
                         </asp:TemplateField>
                          <asp:BoundField DataField="createDate" HeaderText="删除日期" HeaderStyle-CssClass="bg" /> 
                          <asp:TemplateField HeaderText="还原" HeaderStyle-CssClass="bg">
                          <ItemTemplate>
                         <asp:ImageButton ID="imgbtnCancel" AlternateText="还原" ImageUrl="~/images/file/upcancel.gif" CommandName="resume" CommandArgument='<%#Bind("fileid") %>' Width="16px"  runat="server" />                      
                          </ItemTemplate>
                          </asp:TemplateField>   
                          
                          <asp:TemplateField HeaderText="永久删除" HeaderStyle-CssClass="bg">
                          <ItemTemplate>
                          <asp:ImageButton  AlternateText="永久删除"  ID="imgbtnTrueDelete" ImageUrl="~/images/file/delete.gif" CommandName="trueDelete" CommandArgument='<%#Bind("fileid") %>' Width="15px"  runat="server" />                      
                          </ItemTemplate>
                          </asp:TemplateField>   
                                                     
                          </Columns>
        </asp:GridView>
    
    </div>
    </ContentTemplate></asp:UpdatePanel>
</asp:Content>

